package com.lq.ecoldchain.base

import android.arch.lifecycle.MutableLiveData

/*
*2018/12/22 0022  16:20
*function by lq
*/
interface LoadingDelegate{
    fun loadingState(): MutableLiveData<CommonLoadingState>

    fun applyState(state: CommonLoadingState)
}

enum class CommonLoadingState {

    ERROR, EMPTY, LOADING, IDLE

}